package BehavioralPattern.Visitor.element;

import BehavioralPattern.Visitor.visitor.Visitor;
import lombok.Data;

/**
 * @Classname : Manager
 * @Description : 具体元素——管理者
 * @Author : chentianyu
 * @Date 2023/3/12 10:32
 */

@Data
public class Manager extends Employee {

    // 职责业绩
    private String performance;

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
